bitkeeper revision 1.1159.224.8 (41f230af8MIrNZ0j3raPm-vgsd18GA)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Sat, 22 Jan 2005 10:53:35 +0000 (10:53 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Sat, 22 Jan 2005 10:53:35 +0000 (10:53 +0000)
xcs fix from Yuji Tsuchimoto [nox@hiroshima-u.ac.jp]

tools/xcs/xcs.c

index 785614399f9353e5609b90c923993756d0553388..2577587b0790b7deb52ce9015ea650a983072acb 100644 (file)
@@ -96,7 +96,7 @@ static void init_interfaces(void)
 static control_channel_t *add_interface(u32 dom, int local_port, 
                                         int remote_port)
 {
-    control_channel_t *cc, *oldcc;
+    control_channel_t *cc=NULL, *oldcc;
     int ret;
     
     if (cc_list[dom_to_port[dom]] != NULL)